package com.waimai.mobile.api.entity;

/**
 * Orderfood entity. @author MyEclipse Persistence Tools
 */

public class OrderFood implements java.io.Serializable {

	// Fields

	private Integer foodId;
	private String foodName;
	private Float foodPrice;
	private Integer foodAmount;

	// Constructors

	/** default constructor */
	public OrderFood() {
	}

	public OrderFood(String foodName, Float foodPrice, Integer foodAmount) {
		this.foodName = foodName;
		this.foodPrice = foodPrice;
		this.foodAmount = foodAmount;
	}

	// Property accessors

	public Integer getFoodId() {
		return this.foodId;
	}

	public void setFoodId(Integer foodId) {
		this.foodId = foodId;
	}

	public String getFoodName() {
		return this.foodName;
	}

	public void setFoodName(String foodName) {
		this.foodName = foodName;
	}

	public Float getFoodPrice() {
		return this.foodPrice;
	}

	public void setFoodPrice(Float foodPrice) {
		this.foodPrice = foodPrice;
	}

	public Integer getFoodAmount() {
		return this.foodAmount;
	}

	public void setFoodAmount(Integer foodAmount) {
		this.foodAmount = foodAmount;
	}

	@Override
	public String toString() {
		return "OrderFood{" +
				"foodId=" + foodId +
				", foodName='" + foodName + '\'' +
				", foodPrice=" + foodPrice +
				", foodAmount=" + foodAmount +
				'}';
	}
}